package com.wj.ballcat.demo.service.impl;

import com.wj.ballcat.demo.model.entity.Demo;
import com.wj.ballcat.demo.model.vo.DemoPageVO;
import com.wj.ballcat.demo.model.qo.DemoQO;
import com.wj.ballcat.demo.mapper.DemoMapper;
import com.wj.ballcat.demo.service.DemoService;
import com.hccake.ballcat.common.model.domain.PageParam;
import com.hccake.ballcat.common.model.domain.PageResult;
import com.hccake.extend.mybatis.plus.service.impl.ExtendServiceImpl;
import org.springframework.stereotype.Service;

/**
 * @author ballcat 2022-10-08 17:08:19
 */
@Service
public class DemoServiceImpl extends ExtendServiceImpl<DemoMapper, Demo> implements DemoService {

	/**
	 * 根据QueryObeject查询分页数据
	 * @param pageParam 分页参数
	 * @param qo 查询参数对象
	 * @return PageResult<DemoPageVO> 分页数据
	 */
	@Override
	public PageResult<DemoPageVO> queryPage(PageParam pageParam, DemoQO qo) {
		return baseMapper.queryPage(pageParam, qo);
	}

}
